package org.example.config;

import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GatewayRoutesConfig {

    //@Bean
    //public RouteLocator pathRoute(RouteLocatorBuilder routeLocatorBuilder) {
    //    RouteLocatorBuilder.Builder routes = routeLocatorBuilder.routes();
//
    //    return routes.route("path_route",route -> route.path("/order/**").uri("lb://order")).build();
//
    //}

}
